Fix target directory calculation for libraries that have test sources in a subdirectory.  The compile actions were (incorrectly) being separated from the link and run actions in regex, spirit and others.

git-svn-id: http://svn.boost.org/svn/boost/trunk@83612 b8fc166d-592f-0410-95f2-cb63ce0dd405
Attempt to make clang-linux compatible with process_jam_log.

git-svn-id: http://svn.boost.org/svn/boost/trunk@83613 b8fc166d-592f-0410-95f2-cb63ce0dd405