Added getopt.h include.

Some systems seem to need it, others are happy with regular unistd.h.