Fix compilation of profiler without crash reporter