Fix Qt build on Windows.