fix multi-profile i18n/L10 building

Also a fix for extroot menunames

Note:
I am pulling the build changes from a larger change to create a new makefile DISTRIBUTION flag, so this cherry picking of mine here may have some interim consequences until I get that process working well.