Add getopt for Windows.

Source:
https://github.com/alex85k/wingetopt

License/copyright headers are on top of the header and implementation.