add fix for PIL 1.1.7