Initial port to windows

Cf. issue #72