CMake: Fix target_link_libraries parameters