Tweak to Building.py to deal with new PIL imports.