Make build.sh run properly independent of the value of present working directory

Hi!

This smalll fix makes `util/java/build.sh` run properly even when run from outside of the directory it resides in.