Add c++98 compatibility.