Just destroy some buildings then add_money and process_cq to get them back. In a way it is kind of cheap but then again I don't think vanilla RTW could have more than 20 usable buildings so it is just to get around a dumb little limit in the game