Only build parse_perf if json-c is available