Fix CMake of examples for MSVC