Update bashrc with platform-specific conditionals