add support of mingw