Fix rpath settings.