Fix python3 <3.3