In an attempt to make the codebase cross platform compilable, the first and easy part is to replace all possible instances of `CString` with `std::string`