Use 'Agg' backend with matplotlib testing.
Install gfortran for numpy.