Fixed cmake build to work with Windows
Merge pull request #39 from BugFreeSoftware/win_build

Fixed cmake build to work with Windows