On the compactness of arith-metically defined homogeneous spaces