grep location is different between Linux and Mac