Fix build against mapnik 3.

No functional change, just conditionally use the new C++ syntax
required by mapnik 3.  Confirmed works.