Check that a dynamic library is available for use with FFI