getopt support in windows; minor .gitignore updates for windows