add libffi
use bundled version of libffi if system libffi is not available