Fix build on SmartOS, missing LDFLAG -lnsl

Add missing `LDFLAGS.SunOS+=  -lnsl` to build on SmartOS machines. Because of the `LICENSE` i'm not sure, it's missing but i couldn't find any matching file in the license folder.