[FOLD] streabuf fix gcc/clang