Fixed missing arch detection in auto/config