Fix for https://github.com/atgreen/libffi/issues/141