Adds missing library linkages.