Update ant script to 1.7.10
Fix some errors