Fixed grep on OSX