Make sure it can be compiled in C++11 and C++03