Python plugin: Fixed compile against Qt 5