[ocaml] enable forward link reference