Using Jane-Street Library

I had problems compiling using the Jane-Street Library.
To solution was to use the following command:
ocamlfind ocamlc -thread -package core -linkpkg -o test test.ml

[If someone should run into the same problem]