The Islamic State group is extending its territory inside Libya, aiming to gain access to the country's oil wells, France's defence minister says.