We are talking about building standards here which are codified as laws. Besides the fact that everyone involved in the construction of a building is "forced " to follow these laws, almost everyone else is a beneficiary of those standards. As a society, we live in buildings, we work in buildings, we are entertained and receive medical attention in buildings. The safety and durability of these structures is a benefit to society as a whole.
P.s. I’m not sure what this “library” is you speak of. Is it some sort of building?