Attempt to fix Travis CI scipy build.

Try suggestions in Travis CI issuei 2638.