Fix building qimage module on Qt 5 on Windows.