c++11 fixes on gcc-491, glibc-2.12-1.132.el6