Changes needed to compile as a QT5 project