Fix crash handler on osx