Fix configure --help to not rely on gcc.

* Make sure that the invocation of 'configure --help', 'configure -h' or
  just 'configure' will show the usage text and exit.