Make it compile without c++11