Fix compile error with isnan( ).