Resolve getopt bug in VC++ (1st attempt)