SharedArray: windows support

Here's a stab at implementing Windows support. I don't have a machine I can build on, so others might have to test this. If you don't have a Windows development machine, perhaps we should "advertise" this to the folks that do and see if they'd be willing to pitch in.