Use climits for ULONG_MAX rather than modern C++ option