Note: This patch can be removed when upstream is releasing a new version of mapnik, as they have already migrated the code to use boost filesystem v3 in their svn.