Erdogan: Turkey's support to Libya prevented new massacres