use mingw ocaml

I'm not famliar with appveyor. But I've changed the script to use the mingw-w64 toolchain. My patches didn't change anything regarding the cygwin port (at least I hope so).