perf tools: Fix building from 'make perf-*-src-pkg' tarballs