Added the xbuild proc