Add libffi.
Initial code for AIX support.