cross-plat cleanup, fixing brew completion