Fixes #41: some functionalities do not work on Windows
Merge pull request #42 from mbarto/windows_fix

Fixes #41: some functionalities do not work on Windows