cleanup: remove unnecessary hack from federated/CMakeLists.txt
fix TokuDB not to build ft-index library when disabled