Fix compiler for get service, if event_dispatcher defined as alias.

If sf started in debug mode, then event_dispatcher is alias to debug.event_dispatcher service.