Changes made to allow the package to be cross-compiled using mingw on Linux to produce Windows native binaries