Update compatibility with python 3.3