Where does the pump exit? Drains outside should be below the frost line. Unless you add heat, there may not be much to do about things freezing. Normally, because the stuff flows, then the pipe empties, it isn't too bad. But if the flow isn't directed well and it pools, it can cool off enough to freeze and plug things up.