Fix wrong glob dependency as dev when it is need at runtime.

Apologies, added the glob dependency as dev when it is required at runtime.