move win32 specific into win32 block