Enable Android stack overflow messages

I removed the usage of `signal` so this should work better for Android.