add support for java in android build