Added dependency on rosrt library and updated the CMake structure