CFFI fix for #43. Closes #43.