Add Win32 support.

It builds fine with MinGW-w64 and all tests pass.
Fixes issue #12.