cmake: fix msvc