clean up win32 stuff