Get home directory on Windows as well

Fix #268