Fix for non-cxx11 enabled builds