Turkey's support for Libya prevented new massacres: President Erdogan