Added missing std::isinfinite function for Windows Visual Studio compilation.