fix opencl endl; fix leptonica warning

git-svn-id: http://tesseract-ocr.googlecode.com/svn/trunk@1016 d0cd1f9f-072b-0410-8dd7-cf729c803f20
fix windows builds (mingw and VS2010)

git-svn-id: http://tesseract-ocr.googlecode.com/svn/trunk@1017 d0cd1f9f-072b-0410-8dd7-cf729c803f20