Add poor man's getopt.