[xbuild] Fix bad substring.