use CURL version instead of compiler define
fix fribidi warnings
add support for kml and point_z_m