Added BOOST_THREAD_PROVIDES_INVOKE constraing for invoker.
Added  ! defined __clang__ when tested defined __GNUC__.