Fix some Windows errors.
Kill some Win32 linker errors too.