waf configure: proper return code handling for java on tools