Improvised support for MinGW on Windows