fix to bypass incorrect check on mac
Merge branch '03-ISNAN' into 12-fixes-from-R-Core