Build jar with dependencies, enable compatibility with Java 6