Protect against loading a library more than once.