Do not use stringstream for osx