rename HAVE_GPROF to CONFIG_GPROF