modules/nsid: fix linkage on some systems
This is my mistake. I was convinced this line wasn't needed and I deleted it before merging the module. Apparently we still have some deficiencies in the build system, but let's defer that to migration (to meson probably).