South Africa's last white president took a swipe at the ruling African National Congress on Friday, saying they discriminate against people based on race.