Include config.h only when HAVE_CONFIG_H is defined.