Use _getcwd on Windows