TOOLS: Fix compilation with C++98