configure: add general libs for Solaris