fix C++11 versions