Fix build errors.
Add get_link_id().