Use extra config flags when building multicore sim

Fixes build failure with GCC 4.9.

* build-toolchain.sh: Use extra config flags for building
multicore simulator.