Slight improvements to the ant build system.