More granular feature ifdefs for NSEventWrapper.