Fixes #299. The linkage exception is now catched.
Merge pull request #300 from emmanuel-keller/1.5

Fixes #299. The linkage exception is now catched.