Fix locales generation on Ubuntu

Change-Id: I8cb4a79f64dcde3c036d0e5b9bf762b839dd96c6