fix ocaml unit test compile error