Changing std::string to const char *