Removed casting of buildings in initializeProduceables