Fix compilation on Python 3.4