getopt: remove the need for ugly getopt.Option constructor