fix mingw64 builds on appveyor