Limit std::isfinite test to compilers reporting C++11 support through __cplusplus.