Small improvements for ant build.

After fix:
![](http://service.crazypanda.ru/v/clip2net/g/9/FIg6BTIJ8o.png)