Fix misspelled C function names.