[WIN32] fixed win build by guarding config.h with HAVE_CONFIG_H