Add -qt4 in package.use/sage for matplotlib 1.3.x see bug #530492