Modify build.xml for XR.