Fix: cannot get HOME env in windows.