remove unused parameter
fix compile with latest mapnik 3.x
ignore warnings from nan