Fixing compiling bugs for not generating a executable jsc.
We choose to generate a static linked jsc.