Most deaths in Libya floods could have been avoided