patch around problem compiling gzip with mingw for the win32 variant