Don't rely on process.env.hasOwnProperty

See https://github.com/mapnik/node-mapnik/pull/313