cmake: fixed compilation static library on Windows
Merge pull request #65 from drizt/master

cmake: fixed compilation static library on Windows