On the Thermal Design of the External Walls in Buildings