std::isnan() workaround for intel-11.1