fix nasty bug caused by private inheritance of std::exception
fix warnings and clang errors
Merge branch 'master' of github.com:toffaletti/libten