fix warnings in ant build