Libya agrees bombing deal