Support for OS X 10.8

Recompiled the Tesseract and Leptonica libraries with changes that (hopefully) make them work on OS X 10.8. I don't have access to OS X 10.8 but I have tested it on OS X 10.9 and confirmed that it still works there — so at least it's not any worse!

Also moved Tesseract data folder on OS X from /tmp/build/share to /tmp/HearthStats.net-Uploader/share to consolidate the locations of temporary files.