Add Mac OS support for pretty backtrace