added HAVE_CONFIG_H ifdef wrapper to graprof includes