Made dependence on the Python Imaging Library optional.