Fix for "No module named compat"

I needed this to use an image field in python3. I'm using Pillow 2.1 for image handling.