Update target_link_libraries.