Windows support

Screwed previous issue by badly converting it to PR.

See #15 for details.