Fixed XBuild build error.