Added Windows support

Tested on Windows 7 x64.