grep v2.21 compatibility

grep v2.21 depracates GREP_OPTIONS env var
Merge pull request #373 from nummy/patch-2

grep v2.21 compatibility, closes #371