Added support for Windows platform

This pull add support for Windows platform.

Tested on the following platforms:
- Windows Server 2012
- Windows Server 2008
- Windows Server 2008 R2