MinGW32: Workaround for headless executable build