Tweaks condition for ant binary check