npwrapper: fix linking on debian wheezy