Update makefile and py code to allow PyQt5 for the frontend