HOME may not be defined

Set it to USERPROFILE on Windows