Remove stacktrace if not on mac