Move symlink code out of conditional