Fixed perf failing to build multithreaded