Change to std::stringstream
Merge pull request #5 from doug1/portable

Change to std::stringstream