replace a couple of string by std::string (solve a build failure on cygwin)