remove 'grep' dependency

First step towards proper Windows support.