xbuild compatibility