Add version and -V flags.