Fix Windows platform support.