Support windows compilations

Addresses issue #7