Fix a ton of broken linkage.