Fix travis build with PIL.