Fix linking of plugins.
Merge pull request #96 from l-korous/master

Fix linking of plugins.