Fixed non C++11 build