Compactness via symmetrization