fix default login on windows

getenv("USER") doesn't work on windows. Also winapifunctions use utf16 strings.
For consistency with previous inclusions of windows.h, this should be a lowercase windows.h.