Fix Ant's bundled jar generation
Fixes generation of a bundled jar with Ant's package-for-store task. Previously broken because of missing dependencies in dist/lib and because of hitting a file count limit for the number of included class files in the final jar.