Fix for use on OSX Mountain Lion

Apparently perl-regexp has been removed from grep in Mountain Lion.
http://www.dirtdon.com/?p=1452