Fix #328, add gflags defines for shell-internal flags

This adds the gflags-required defines for the internal shell flags. Though the shell does not use the gflags API, if the flags don't exist in the gflags registry then a parsing error will be thrown.