Fixed a bug when loading as global function

The identifier `definition` is not defined anywhere, thus global include fails with an error.