Fix a linux build regression in Event.h