No need to malloc this memory if it's always going to be initialized anyway. Add history disabling switch to a few targets to make sure both builds are tested.