fix issue with propagating wrong library name, unroll recursion
Merge pull request #12 from catkin/cs_add_library_fix

fix issue with propagating wrong library name, unroll recursion