Segment: clean up ghc-7.8 warnings