Could you disable the GLOG usage via USE_GLOG=0 in your env?
Besides that it also seems that your current setup is missing pthread.h, mpi.h, cpuid.h, and execinfo.h.
While these errors are raised as fatal error, I’m unsure if these would really break the build or skip the usage of some libs.
Did you make sure to use the recommended Visual Studio version as described here 2?