Fixed a bug in util/install_build_tools.sh.

...which caused the script to fail when multiple (hierarchical) gradle files exist.