I thought I had merged this fix.  Guess I decided not to at the time ......

... but now it is needed for SmartOS ... which used to not need it.