Fix intermittent localization package build errors on Linux

 * Work around what seems to be a race condition bug in Mono when waiting
   for child processes
 * Allow resgen output to go to stdout so error messages can be seen

Change-Id: I543f4b3aca3a30e39cac9c583752d286173e10b5