Made make_relative_path handle symlinks correctly.