It's not just the total cost, it's the cash flow (do you have that money right after closing), the uncertainty of cost overruns and timing, and having to organize the work. It will always make better sense to buy the updated house, if there is one.
When you see people making renovations right after purchase it usually means they were willing to pay a premium for that particular lot instead of taking their money to a different location with an updated house.