Merge "Mark libffi as optional for non-ARM/x86 builds"