Fixing XCtool arch problem