fix assert for c++98