Renamed struct option to avoid conflicts with getopt.h.