Detect arch when bootstraping