The UN Security Council on Wednesday called for all mercenaries and foreign fighters to leave Libya, as the fighting between the rival militias continues.