enable c++11 exceptions