I don't think anyone is saying we shouldn't compensate people doing labour that is required. I think the problem is that we don't really have a societal model that is doing its hardest to cover these needs first before other ones.
If we used the money we spend on, say, entertainment or high-end mobile phone industry on R&D regarding farms and food yield and distribution we might see lots more advancements in this area. But that's not really something that is desirable in our modern economies; for people in the USA and most of the developed world we don't really need to invest any more in solving hunger because we are really not hungry anymore. And the ones that are hungry we don't really acknowledge as a big problem, although they exist.
Housing on the other hand, it's really interesting to think of this problem because acquiring a house has gotten much more difficult even though our capabilities to build houses have increased so much. This seems to be a problem in how we are deciding the prices of houses rather than a pure "we need to pay for materials and construction costs".
So although these people deserve to be compensated, we are in no way paying the "right" prices. I reckon for food we are actually paying less money than we should be paying for some products (counting externalities that are derived from our current methods of production) and for housing we are paying more than the actual material and labour cost of the construction. All in all, it seems prices and cost of living is kind of whacky in modern societies.