Fix ImportError in Python 3.2