Replace some Windows specific string functions with std::string.