<MacTypes.h> says we should use NULL rather than nil in C, so do that.