fix compile against mapnik v2.2.x