Fix crash at small segment size caused by the attempted linux fix.