Fixed compile-time errors relating to segsort-by-flags