Fix FFI dependency

@jerryk55 Please review.