Fix calls to ctype functions.