thirdparty: fix build-if-necessary in tarballs pt 2

This is a follow-up to 428d175 to use `find` instead of `grep` since
`grep` returns an exit code of 1 when the results set is empty.

Without this, I couldn't build 1.10.0 RC2 since build-if-necessary.sh
would exit with 1.

Change-Id: Ic8ffbd69c3622669b73500efaacd4f4e21cfa77a
Reviewed-on: http://gerrit.cloudera.org:8080/13729
Reviewed-by: Todd Lipcon <todd@apache.org>
Reviewed-by: Alexey Serbin <aserbin@cloudera.com>
Tested-by: Kudu Jenkins
(cherry picked from commit dcb8c394d968ee4b25baea0c2cc0e35a17c263d9)
Reviewed-on: http://gerrit.cloudera.org:8080/13732
1 file changed