Merge pull request #60 from madwyn/master

Fix a logging bug for dynamic lib loading exception