account for mapnik 2.2.0 and 2.3.0 SDK.