Minor fixes to the translation build scripts.