Add libffi for Spring compatibility.