fix for std::os::getcwd() change