Disabling build for java libraries

Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>