Enable exceptions for Solaris.
Merge pull request #51 from zachizi/master

Enable exceptions for Solaris.