Fix vlc build to cope with locale changes.