Manually add changes from mfenniak's libffi buildpack

https://github.com/mfenniak/heroku-buildpack-python-libffi
Manually add changes from kennethjiangs libffi build back

https://github.com/kennethjiang/heroku-buildpack-python-libffi