Fixed issue with compiling without c++11