Allow MinGW64 compilation in Windows/msys
Fix Windows save & load.