add gcc47 in build script, type conversion variables for gcc IA32