[WIN32] fixed win build by guarding config.h with HAVE_CONFIG_H
osx/ios: cosmetics
fixed build
Merge pull request #3358 from wsoltys/remove_configh

guard config.h