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