Make glrsgen build work on mingw32.

Please note that glrsgen with libxml2-2.7.6-1-msys-1.0.13 and libiconv-1.14-1-msys-1.0.17 crashes, so the build can't continue further.