Libya agrees on major arms deal with France