flush between print and subprocess calls so output is in sequence
convert LOCALES_FILE and LOCALE_BASEDIR paths to Windows-style on Windows
use version of Gaia with multilocale build fixes for Windows