On Windows, prefer USERPROFILE for home directory path