add tools/ocamldep
change compile.ml & compile options(around warn-error)