Fix python 3.3 incompatibility, closes #19