Fix incorrect stringstream syntax usage
The str() function is not being used to pull data out of stringstream mgs.  This causes the build to fail when trying to apply mgs to the << operand.
Fix syntax usage for stringstream line
str() function is not being used to get data out of stringstream line.  This causes the build to fail.
Merge pull request #345 from awleffew/compile_error

Fix incorrect stringstream syntax.