Fix platform config dependend patches