Update libraries and includes to match tesseract.