compiler fix for linux

isnan_host is wrapper for std::isnan(x); for linux