Fix qwindow to build