try to use mingw; support vc also