Fix issue 134: CMakeLists is not FreeBSD compatible
Only link dl library on Linux platforms.
Use CMAKE_SYSTEM_NAME consistently to determine target platform.
Original patch by Jonas Bülow, thanks!

git-svn-id: http://include-what-you-use.googlecode.com/svn/trunk@548 812d1f90-f944-d88a-411a-122bdc93e1ea
Don't instantiate unreferenced template constructors (fixes issue #118).

git-svn-id: http://include-what-you-use.googlecode.com/svn/trunk@549 812d1f90-f944-d88a-411a-122bdc93e1ea