[CMake] Fix standalone build after r208526