Just die with an exception instead of locking up ST2 on Windows.

The current code hangs ST2 on startup. This gets rid of the alert, but at least ST2 runs now. People should still see the error in their console.