build: Fixed the way locales are included for FireFox and Thunderbird

Fixes distcheck
Release 0.17.2