Another fix to build with latest qt updates