Removed functionality requiring libffi

Signed-off-by: David Hart <david@atipik.ch>