Fix discovery build with Qt5
Initial work to build backend against Qt5