fix build with leptonica 1.70

This is fix for issue #45 - building jbig2enc with leptonica 1.70 (it builds with 1.69 too).