Compatibility with windows

Add compatibility with windows.
Tested on windows server 2012 R2. Not tested on Unix.
Update README.md
Merge pull request #1 from ninja-2/master

Add compatibility with windows