Fix compiler for get service, if event_dispatcher defined as alias.
Merge pull request #212 from ZhukV/master

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