Attempt fix for cmake warning spam on Windows