[CMake] break dependency between unit tests and runtimes in standalone build