Support for Windows 7, 8

This commit fixes #108