Fix RVM throwing 'RVM is not a function'