Support pre-c++11 compilers.