fix build with latest mapnik 3.x