add missing "include ctype.h" (gh-34)