Fixing the build for compilers which do not yet have support for constexpr functions, NFC.