Fix for std::os::get_cwd() change