Wrap MAX_POLYGONS_PER_PASS in #ifndef

This allows us to define this value using the makefile, so we don't have
to modify code to try various values for this.