changing make_links to handle .config correctly