move lib to rlib
add c++ lib stubs