Fix IronRouter.configure() regression with global hooks