fix 'latest' symlink when relative paths used