Explicit cast to fix overload resolution fo std::to_string.