Compilation on MinGW

add ifdef MINGW