remove duplicate target_link_dir in dict_build