Fix for Ubuntu 12.04 Python 3.2