Fix build with DISABLE_EVENT (proper spelling)