Pass object libraries to add_library instead of to target_link_libraries command