fix for C++03
regression compile-fail