build: link against nls on solaris.