Attempt to make getopt compatible with Darwin