Fixed undeclared std::snprintf problem on Linux