changes for build with mingw