I would copy the bindings to another directory, change them as I need regarding the library path, put the compiled library file in the search path. And optionally use a -collection
flag to have a similar path specification in import
to vendor:mylib
. Here is an example of using a collection.