more c++11 compilation fixes (nw)