npwrapper: link wrapper against glib

fixes #459
Merge pull request #461 from karolherbst/bug459

npwrapper: link wrapper against glib