Improved build.xml (thanks @bspkrs).