Fix thunderbird on ppc.

1. Use gcc.
2. Add "-D__STDC_CONSTANT_MACROS=1 -D__STDC_LIMIT_MACROS=1"