build fix: move some parts away from ATH_GENERIC_BUF