Sink add_llvm_library(gtest_main) to UnitTestMain/CMakeLists.txt.