South Africa mining sector struggling