std::snprintf needs cstdio included