Python3.4 fixes