Fix C++11 build problem