Consolidate platform checks via $PLATFORM env var