Fix isInf && isNaN compile error@