Fix issue #23: make targets link catkin_LIBRARIES.

As per subject.

I've left some of the library targets as they are, as I did not check the actual dependencies of those targets.