Collapse <buildWrappers> tag in empty case.