Fix the compiler flag to enable C++ exception catch
Catch exceptions during destructor
Bump version