Modify the link step to rename duplicated functions if they are user-compiled functions (not utilties)