Fix compilation error in CCEventDispatcher