Avoid O_CLOEXEC to support OCaml 4.00