MNT : add guard to not look up HOME env on windows

This variable should not be defined on windows so don't
even bother looking at it.

addresses #3804
Merge pull request #3829 from tacaswell/HOME_win32_guard

MNT : add guard to not look up HOME env on windows