Changes to support v3.10

- linking frameworks and flags
- event enum order changed
- startup method changed