perf config: Add some new -DHAVE_XXX to CFLAGS