examples: Guard include config.h with HAVE_CONFIG_H