Fix profiling build following removal of specific STM object types