Fix Windows unittests.
Merge pull request #8 from p0nce/master

Fix Windows unittests.