fix profiling build, take 2