minor bug fixes in ant build files