added check for old tesseract version < 3.03