[makefile] most of the ocaml tools are compiling with shared lib

some issues with mixed static/shared lib