Fixes std::numeric_limits on some older compilers