Attempt to fix Travis build error for astropy