Remove unused libraries from CMakeLists.txt