Fix dhcpd-pools for SmartOS, add missing LDFLAGS -lnsl

Only add missing `-lnsl` to build `dhcpd-pools` on SmartOS.