add nvm to $PATH and fix problem for Yosemite