Fix python 3.3 incompatibility