The United Nations estimates 40,000 homes need to be rebuilt in Mosul alone.