make libmerr an ocaml pack