Replaced <unistd.h> with <getopt.h> for portability.
Merge pull request #4 from flarn2006/master

Small change for portability purposes