Fix headless segfault on win32

It's not used anyway on windows.

-[Unknown]