some mac updates

- fixed warnings for initialization order
- added missing header