Make MAX_STACK_TRACE_ENTRIES configurable