Fix linker flags with clang

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