The best you can do is install them and, as part of the install (install(CODE) or install(SCRIPT)), use a tool like patchelf or chrpath to edit the installed copy as needed. If you need the dependency itself to be fixed, please contact upstream or the vendor that built that copy.