mapnik: uses boost with python

Closes #29343.