Reduce build.xml duplication & improve build time

I didn't know about ant macros before; I had halfway eliminated
duplication by defining a common fileset that all the jar targets used.
This (the <union> tag) turns out to be a lot slower; defining the
filesets directly in the macro results in over 2x improvement in build
time.