Fixes for CFFI 0.11.0
Merge pull request #1 from sionescu/master

Fixes for CFFI 0.11.0