Add explicit 'cdef'
Port to the new libcangjie API

This fixes issue #1.