Added missing imports for py2exe and py2app

Doh!