expose the interfaces for opam bundler

Please use functions from OpamMisc instead: extlib is required by opam as a transitive dependency only.