Leptonica library modified to build with CMake