worked around an issue for systems with Pillow installed