* main_codegraph.ml: allow -build on different dirs