Fix bug in constructing Ocaml option types in the bindings.