Fixed ci appveyor use mingw to build and test