Fix JAR copy