Fixing OSS issue on Mac.
commenting out getopt
Merge pull request #5 from r-lind/master

Mac fixes