use system libffi if available

to address #30