Fixed compile errors on GeneralizedCCD