Fix linking args when building a binary with multiple files
Add a configure option to not depend on ocaml-dumast at all