Added autocd for OSX.