Don't check for java as build dependency

For libhybris build, we only interesting in C/C++ part, there's no need
to build the java applications.

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>