fix windows compile - apparently numeric_limits is not viably constexpr - closes #2452