fix generated files so we can build properly