On a minimization problem involving the critical Sobolev exponent