Add smartos and omnios support