Add perf tool to build system