USceneComponent::RelativeRotation': cannot access private member declared in class 'USceneComponent

Yeah its not but its a engine header file, there must be a way to get around it without rewriting engine files or is that normal.