Compiler check in header for platform macros