Architects and contractors are using newer materials and techniques in roofing, walls, and windows to keep buildings standing