Print fatal errors to stdout on Linux/OS X

These currently produce a message box on Windows, but nothing on Linux/OS X.