add 'std::' in stream.h and stream.c to avoid c++ compile errer