locale: adapt helper scripts to current compilers
Merge remote-tracking branch 'cool-next-cc/next-cc'