- fix invalid macro for linux build.
- add missing includes for standard types.