fix OCaml for ninja-build generator