Fix for c++11