1.1.x windows compatibility patches (resolves #15)

Reported by @milesj - resolves #15