Build and copy libffi shared libraries correctly and enable dynamically linking ghc.
Test Plan:
Ensure build environment does NOT have a system libffi installed (you may want to use a nix environment).
Then hadrian/build.sh -c --flavour=default
GHC Trac Issues: #15837 (closed)