xca: adding a patch and tweaking the BUILD