Better linking of ocaml-curses library.