Attempt at Darwin compatible getopt, no more longopts.

Since the getopt provided with Darwin doesn't have support for longopts,
I've removed that support for consistency as well.