Fix mingw-w64 build issues on windows.
Before creating any new configure files (.conf) read the CONF_FILES_README.md