Attempt to fix Travis astropy import failure.