adding support for arch determination on solaris, stubbing it on osx because pkg-utils is the worst