Fix ANT Type mismatch issue not found by Eclipse.