Support ack-grep 2.0 and 1.9