perf: Use tools/Makefrag for building perf