make 'mat' pip installable without GUI
Ideally, something like 'pip install --install-option="--without-gui" mat' would be available for people who only want the library and none of the GUI dependencies.
(from redmine: created on 2014-06-10, closed on 2015-10-10, relates #7386)