One possibility for this bundling is that Arc looks first where it would expect a library to be (in an equivalent of npm_modules), then looks for it in the usual place (/usr/lib or wherever).
Or, if it all needs to be bundled, you could have symlinks for the libraries you don't change.