support both mapnik 3.x and 2.3.x