Add a Windows-specific fallback to getenv("HOME");