[CMake] Use host compiler to build unittests in standalone mode