Replace all ocurrences of old types with stdints.