- added win32 compilation support