fix(router): get RouteRecognizer regardless of how it is imported