workaround https://github.com/mapnik/mapnik/issues/2112