Foreigners flee Libya as world leaders seek resolution to crisis