Make it compile with C++11