Fixed CmakeLists on windows.