Fix Cygwin-MinGW build script