Greatly speed up ant build.
Fixed build problems on paths with space.