Detect bash and use it when available.