Troubles with port back to C++98