Fix the ENABLE_JIT_MAP build. Fixes #14752.