Fix things for Qt 5.2, Python 3.4 :)