Turkish president and Libyan interim PM agree to maintain 2019 Mediterranean accord that has angered Greece and Cyprus.