Merge pull request #392 from alex/setup-install-extension

All the necessary things for setup.py to build cffi stuff