Fix warning messages from ant build