Try work-around for compatibility with Travis CI's PIL