Support C++ < C++11