Fixed NPE in buildJar() method.