include config.h to get config params, hopefully unbreaking mingw builder.