Added support for Windows (tested on Windows 7)