fix apt-get/yum dependencies

Not always necessary, but Gensim apparently has a habit of installing
its own (recent) version of SciPy if the OS-distributed version is
too old.

[ci skip]