when eventsys is enabled, so the build was broken when events were disabled (as they are in the testsuite).