Turkish PM: Afghanistan needs international community