re-added variant to strip rpath entries and extend ld_library_path