Added compiler guard to demo_platform.h