linux mingw build script fix