Fix JAR build.