Work around an xbuild limitation