Builds on Windows again (added getopt support).
Merge pull request #12 from pthedinger/master

Builds on Windows again (added getopt support).