Fixed issue from trying to throw exception badly. Compiles for MingW too...

....