Use variable instead of string to detect ARM