Fixing pre-install so it honors symlinks