Windows build fixes
Now it is possible to build debug and release version on Windows
Tests will be debug and release too
Merge pull request #2 from drizt/master

Windows build fixes