CMake: polish the Windows packaging rules