for compilation with Ocaml/Mingw