Fix dependencies in eventlistener.h