__sun for SmartOS compile