tools/perf/build: Clean up the libunwind logic in config/Makefile