Fix exception-handling feature with gcc.jam

  see: https://svn.boost.org/trac/boost/ticket/5293
Fix linker flags with clang

  see: https://svn.boost.org/trac/boost/ticket/5820