fixed getopt problems, which are the devil on OS X