Update clone-subprojects.sh

many versions of grep don't have -P flag(e.g. in macosx), egrep is more common in this case