add cross platform getopt sources
change `include <getopt.h>` to `include "getopt.h"`
Merge branch 'cross-platform-getopt' into support-windows