Added support for win32 platform

I've successfully executed example code under windows.