Temp fix for segfault under gdb on windows.