That's the way they are in low-wage countries. Anyone who wants to improve conditions there by employing workers under conditions a worker in a high-wage country would be comfortable with, is certainly free to do so. Work conditions have got nothing to do with capitalism or the lack thereof. The conditions under which workers toiled during the first 150 years of the Industrial Revolution can only be described as Dickensian, but the system was no less capitalistic for being so spartan in its treatment of the labor force.
Working conditions in China prior to the Communist Revolution were certainly no better than conditions afterwards. The key change was post-revolution, everyone had an incentive go goof off because to work too hard was pointless, given that everyone else got the same rations regardless of output.
The principal difference between capitalism and communism is that the market, rather than central planners, sets prices and production quantities.