cmake: arch files: fix duplicate build and follow autotools logic
cmake: arch files: fix duplicate build and follow autotools logic

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