fix profiling build