[TargetInstaller] Set the architecture according to the value of the user targets