Compilation on Ubuntu14.04+Indigo

Changed boost::shared_static_cast to boost::static_pointer_cast. Added the missing library in CMakeFiles.txt. Changes allow compilation on Ubuntu 14.04+ROS indigo. The library continues to work on Ubuntu 12.04+ROS Hydro with these changes.