Fix linking

The library needs to be linked against roscpp and Boost thread.
GCC won't complain about missing symbols for a shared library,
but other linkers (like clang's) will not accept it by default.
Merge pull request #7 from po1/fix-linking

Fix linking