Compatibility changes and binaries for Windows.

Changes to build under Windows as well as latest binaries.

Shouldn't affect Unix builds,