fix build of perf