Emit default build.xml.
Fix output-dir handling.
Add option to run ant.