Fixing dependency issue in ant build