Tiny bugfix and a ant file for creating JARs