bagel compiles again with btas-twg