Add support for windows home directory

Fixes #3