[Tizen] Fix compile error

- Tizen SDK doesn't support override keyword yet.
- add class keyword before friend keyword.