The head of the Environment Agency says new buildings should be made more resilient to flooding.