Windows support
Merge pull request #71 from pjeby/master

Windows support (complete!)