Initial attempt to port to win32.