Fixes grepping to work with jenkins as well.