ROS_LIBS Macro definition

Added a ROS_LIBS macro definition and corresponding #ifdef/#endif
statements around anything that requires ROS to compile.