don't include smart_str.h in a too global header, fixes #64718