Fix building with maintainer mode of main-win.c