Move windows from MC_JIT to JIT, and several other fixes