config: on OS X, don't use required_argument for getopt_long, but optional_argument.
required_argument is not implemented (behaves like optional_argument), and actually crashes in some instances. This fixes a crash as detailed in #1681. The problem is filed with Apple as Radar ticket 6113829
Showing with 8 additions and 2 deletions