Fix build using xctool.