Purge all r_lib references