download and compile an MSVC-compatible getopt