Update flags to account for platform restrictions