Use own minimal "getopt" function to support compiling using MSVC.
6 files changed