QtCreator: build fixes for win32 with MinGW compiler.