workaround boost python bug - refs https://github.com/mapnik/mapnik/issues/1968