On the Glivenko-Cantelli problem in stochastic programming: Linear recourse and extension