Fix CROWN_PLATFORM_* checks