use libffi-dev, don't build it from sources
Merge pull request #1635 from unclejack/fix_main_dockerfile

Fix libffi build failure for the main Dockerfile