fix of mingw comiplation