Updated CMakeLists.txt to compile using yarpplugins