Fixes #4378 prevent loading same library name twice