Fix handling library load failures.

If one of the libraries fails to load, set it to false so that the
failure can be easily detected later.

Error usefully if the missing functions are called.