Fix `template` module error when not loaded as part of the `lodash` module.