[Intl] Improved error messages in the build scripts