Fix some DISABLE_JIT problems.