Fix sigaction on OS X
Print stack overflow messages for Windows, Linux and OS X