Update clone-subprojects.sh to support more common grep version
Created by: unintended
many versions of grep don't have -P flag(e.g. in macosx), egrep is more common in this case
Created by: unintended
many versions of grep don't have -P flag(e.g. in macosx), egrep is more common in this case