Fix compatibility with Python 3.3.1.