Fix hazard table build