Fix generating translations for Linux builds.