Make link targets unique for each library