Fix linker error for baseapi_test when building without legacy engine
Fix linker error for baseapi_test when building without legacy engine

Linker error reported in issue #2439:

    unittest/baseapi_test.cc:190:
      undefined reference to
      `tesseract::TessBaseAPI::AdaptToWordStr(tesseract::PageSegMode, char const*)'

Signed-off-by: Stefan Weil <8d4c780fcfdc41841e5070f4c43da8958ba6aec0@weilnetz.de>

tesseract-ocr/tesseract,stweil/tesseract,UB-Mannheim/tesseract,stweil/tesseract,tesseract-ocr/tesseract,stweil/tesseract,tesseract-ocr/tesseract,UB-Mannheim/tesseract,tesseract-ocr/tesseract,amitdo/tesseract,amitdo/tesseract,stweil/tesseract,amitdo/tesseract,amitdo/tesseract,amitdo/tesseract,UB-Mannheim/tesseract,tesseract-ocr/tesseract,UB-Mannheim/tesseract,stweil/tesseract,UB-Mannheim/tesseract