Fixed build error with xbuild.