Avoid direct usage of FFIProvider interface, and make failure to load more robust.