Fix bug in ant build script