Fixed a bug with antfile