GCC 4.5 / MSVC 2013 compatibility: constexpr-related issues.

Blind fix, copied from surrounding code.