Shaped by necessity and built with what’s at hand, shacks are an endangered species