Fix sigaction on OS X
Disable writing to fs:0x14
Print stack overflow messages for Windows, Linux and OS X