Return a std::string from PrependMainExecutablePath.