Add platform detection macro.
Include platform header.