apply helpers to ohai, add libffi dep