Try using an absolute path for xbuild from within Unity.