Extend cxxfunction by saving the dynamic shared objects for re-using across R sessions
