fixed PIL import on some systems