Making script compatible with old grep version in git bash.