Hm, in that case, that is hardcoded. Buildings by default catch on fire, up to their current level of health. In order to avoid that, you need to make a fake building, based on a normal unit, e.g. Footman, with Movement type to "None" and Combat - Targeted as "Structure".