Build test_topk with CMake