Egypt and Libya finalize $2 billion loan agreement