Fix up win32 so it doesn't error on non-windows.

Skip some broken tests on non-windows, they weren't
meaningful on other platforms anyway.