Fix std::string argument reference error.

OpenGL requires communicating with raw strings and it is having bad side
effects for functions that expect an std::string references on MSVC.