Fixed JIT build function templating.