Support older grep versions