Make mpl use non-gui backends.