Add support for stack overflow messages for Android