graphics/tesseract: fix build when building from ports
PR: 265091 Submitted by: junchoon@dec.sakura.ne.jp