Added check for Windows, to fix issue #32