Add support for switch() to the native R interpreter.