host: Fixed a few minor CMake issues for Windows builds