[CMake] Add missing lib dependency