Allow PIL greater than 1.3.1