Fixed dependency structure in ant build files.