fix xtc build