Fix typo and missing linkage.