Mildly ugly hack to force correct linkage.