fix jit compilation

this is quite weird, because it only fails after many tests, with a
segfault. if i comment out tests, it fails somewhere else.