configure: detect ARM variants