Fix remaining windows warnings.

I believe we're now at zero warnings on all the tested systems (windows,
mac, and ubuntu). I haven't carefully qualified the compiler flags,
though. I'm sure I'd see some warnings with the right flags :)