Fix warning

ifdef out some of the crash report stuff that was giving warnings on
other platforms