[PATCH 4.20 250/352] perf build: Dont unconditionally link the libbfd feature test to -liberty and -lz