Fix libffi paths