added rvm_internal.h