Remove unused libs in CMakeList.txt.