Only define the code coverage exclusions if we have the necessary headers (AppVeyor doesn't)