Support non-mingw32 windows

Previous windows support only checked for host_os of "mingw32" and a 32-bit host_cpu, this should make it a bit more comprehensive.