fixed windows compatibility
Merge pull request #19 from ranad/bugfix/new

fixed windows compatibility