env_check.pm had a bug for ant versions like 2.1