Fix compilation errors on Windows (constexpr is not known by standard MSVC compiler)