Use Cython if available, otherwise use cached C.