rpath-link fixes