Use constexpr type for C++11 compilers