Made bashrc platform aware