It would be historic mistake to leave Libya at the mercy of a warlord, says Turkish president