Fixed syntax errors preventing installation on Python 3.