[CMake][Standalone] Fixup r197395 for standalone build.

Standalone scripts shall be rewritten.

llvm-svn: 197459
GitOrigin-RevId: 17645a4772ba6d15fc0d027a8ac20118a00977fe
2 files changed