Add custom integral constant to improve support for C++11 compilers