cxx11 fix for certain compilers