support ETC_DIR and global constants in xalt_global.py