Small change for portability purposes

Hi, me again! :-)
I just realized unistd.h isn't on Windows, so I changed it to getopt.h, since getopt is all I needed from it.