make clang happier and c++11 forward compat