Running into linker errors building Mavsdk on Windows

Currently I am trying to build and Mavsdk on Windows and am running into the following errors.

  core.grpc.pb.cc
  core.pb.cc
  Generating Code...
  Auto build dll exports
LINK : fatal error LNK1189: library limit of 65535 objects exceeded [C:\Users\joshw\OneDrive\Documents\MAVSDK\build\default\src\mavs
dk_server\src\mavsdk_server.vcxproj]

I also get the below along with a few more linker errors with the same feature.

mavlink_mission_transfer_client_test.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class testing::internal:
:FailureReporterInterface * __cdecl testing::internal::GetFailureReporter(void)" (__imp_?GetFailureReporter@internal@testing@@YAPEAV
FailureReporterInterface@12@XZ) referenced in function "void __cdecl testing::internal::Assert(bool,char const *,int,class std::basi
c_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?Assert@internal@testing@@YAX_NPEBDHAEBV?$basic_
string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) [C:\Users\joshw\OneDrive\Documents\MAVSDK\build\default\src\unit_tests\unit
_tests_runner.vcxproj]

To get to this point I :

  1. cloned the repo
  2. updated submodules
  3. configured with cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_MAVSDK_SERVER=YES -Bbuild/default -H.
  4. Tried to build with cmake --build build/default
    Has anyone run into similar issues and know a fix. Alternatively, has anyone been able to build and run the mavsdk server on Windows?