got compiling and working on win32