Change curl version, fix cmakelists