Check if the symlinks exist before creating them