Fix compatibility with Python3