Adds guards to nvm and rvm includes