Make byte ordering support for SmartOS simpler.