Merge pull request #237 from tschwinge/libffi_feature_test

Simplify/fix libffi_feature_test