In Europe we have stricter building codes on average but it's still very much a non-technical problem. Prices of land are insane in Spain, and I bet in other countries too.
And taxes, and a myriad of other things that have nothing to do with actually building the thing.