Fix bin_or_sbin semantics in solaris