Remove nil values from the PLATFORMS array for platforms that don't have these variables