Adapt to sugar-build change