Remove dependance from roboptim-core
and add a missing .hh in the CMakeList