Add a new TargetNameParser class, which is useful for parsing options.