Make PATH etc available in shell mode in emacs on OS X