Fix backends to use right rpath.