fix bashrc for linux and osx.