Split to JIT and bitcode compiler, stdlib fixes