Technology has made many buildings less climate-friendly, but we can look back in time for simple solutions.